package com.jing.weibo.pojo.user;

import java.io.Serializable;
import java.util.Date;

import com.jing.system.model.Page;

/**
 * 用户的实体
 * @author jing.yue
 * @version 2012/08/29 1.0.0
 */
public class UserInfo extends Page implements Serializable {

	private static final long serialVersionUID = -5895609806534220389L;
	//编号
	private Integer id;
	//用户名
	private String username;
	//昵称
	private String nickname;
	//性别[m:男/f:女/n:未知]
	private String gender;
	//关注数
	private String attentionnum;
	//粉丝数
	private String fansnum;
	//微博数
	private String weibonum;
	//授权的token
	private String token;
	//添加时间
	private Date createtime;
	//登录时间
	private Date logintime;
	//授权到期时间
	private Date accessendtime;
	//类型[0新浪微博]
	private Integer type;
	//删除标记
	private Integer isdel;
	//用户图像
	private String img;
	//是否开启互粉[0关闭/1开启]
	private Integer isopenmp;
	//是否开启同城互粉[0关闭/1开启]
	private Integer isopencitywidemp;
	//是否为管理员[0否/1是]
	private Integer isadmin;
	//积分
	private Integer point;
	//妞币
	private Float currency;
	//等级编号
	private Integer gradeid;
	//邀请的用户
	private String inviteuser;
	//邀请用户的总记录数
	private Integer invitenum;
	//用户所在地区
	private String location;
	//用户标签
	private String tags;
    //省份编码（参考省份编码表）
	private String provincecode;
    //城市编码（参考城市编码表）
	private String citycode;
	//是否V认证[true已认证/false未认证]
	private String verified;
	/****************************** 扩展属性 begin ******************************/
	//获取参与互粉的记录
	private Integer joinmpnum;
	//登录用户是否关注了开发者[true已关注/false未关注]
	private String following;
	//查询的粉丝或关注类型
	private String fatype;
	//泡吧分区ID
	private Integer pbtypeid;
	//等级描叙
	private String gradename;
	//用户是否签到[true已签到/false未签到]
	private String issign;
	//互粉冻结时间
	private Integer freezemptime;
	//用户名数组[冻结的用户名]
	private String[] usernames;
	//标签数组
	private String[] tagNames;

	/****************************** 扩展属性    end  ******************************/

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getAttentionnum() {
		return attentionnum;
	}
	public void setAttentionnum(String attentionnum) {
		this.attentionnum = attentionnum;
	}
	public String getFansnum() {
		return fansnum;
	}
	public void setFansnum(String fansnum) {
		this.fansnum = fansnum;
	}
	public String getWeibonum() {
		return weibonum;
	}
	public void setWeibonum(String weibonum) {
		this.weibonum = weibonum;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Date getLogintime() {
		return logintime;
	}
	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}
	public Date getAccessendtime() {
		return accessendtime;
	}
	public void setAccessendtime(Date accessendtime) {
		this.accessendtime = accessendtime;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getIsdel() {
		return isdel;
	}
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Integer getIsopenmp() {
		return isopenmp;
	}
	public void setIsopenmp(Integer isopenmp) {
		this.isopenmp = isopenmp;
	}
	/**
	 * 是否开启同城互粉[0关闭/1开启]
	 * @return
	 */
	public Integer getIsopencitywidemp() {
		return isopencitywidemp;
	}
	/**
	 * 是否开启同城互粉[0关闭/1开启]
	 * @param isopencitywidemp
	 */
	public void setIsopencitywidemp(Integer isopencitywidemp) {
		this.isopencitywidemp = isopencitywidemp;
	}
	public Integer getJoinmpnum() {
		return joinmpnum;
	}
	public void setJoinmpnum(Integer joinmpnum) {
		this.joinmpnum = joinmpnum;
	}
	public String getFollowing() {
		return following;
	}
	public void setFollowing(String following) {
		this.following = following;
	}
	public Integer getIsadmin() {
		return isadmin;
	}
	public void setIsadmin(Integer isadmin) {
		this.isadmin = isadmin;
	}
	public String getFatype() {
		return fatype;
	}
	public void setFatype(String fatype) {
		this.fatype = fatype;
	}
	public Integer getPoint() {
		return point;
	}
	public void setPoint(Integer point) {
		this.point = point;
	}
	public Float getCurrency() {
		return currency;
	}
	public void setCurrency(Float currency) {
		this.currency = currency;
	}
	public Integer getGradeid() {
		return gradeid;
	}
	public void setGradeid(Integer gradeid) {
		this.gradeid = gradeid;
	}
	public Integer getPbtypeid() {
		return pbtypeid;
	}
	public void setPbtypeid(Integer pbtypeid) {
		this.pbtypeid = pbtypeid;
	}
	public String getGradename() {
		return gradename;
	}
	public void setGradename(String gradename) {
		this.gradename = gradename;
	}
	public String getIssign() {
		return issign;
	}
	public void setIssign(String issign) {
		this.issign = issign;
	}
	public String[] getUsernames() {
		return usernames;
	}
	public void setUsernames(String[] usernames) {
		this.usernames = usernames;
	}
	public String getInviteuser() {
		return inviteuser;
	}
	public void setInviteuser(String inviteuser) {
		this.inviteuser = inviteuser;
	}
	public Integer getInvitenum() {
		return invitenum;
	}
	public void setInvitenum(Integer invitenum) {
		this.invitenum = invitenum;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getProvincecode() {
		return provincecode;
	}
	public void setProvincecode(String provincecode) {
		this.provincecode = provincecode;
	}
	public String getCitycode() {
		return citycode;
	}
	public Integer getFreezemptime() {
		return freezemptime;
	}
	public void setFreezemptime(Integer freezemptime) {
		this.freezemptime = freezemptime;
	}
	public void setCitycode(String citycode) {
		this.citycode = citycode;
	}
	public String[] getTagNames() {
		return tagNames;
	}
	public void setTagNames(String[] tagNames) {
		this.tagNames = tagNames;
	}
	public String getVerified() {
		return verified;
	}
	public void setVerified(String verified) {
		this.verified = verified;
	}
}